From: Cosimo Cecchi Date: Sat, 11 Jun 2011 17:32:15 +0000 (-0400) Subject: themingengine: set the right coordinates for the rounded box rect X-Git-Tag: archive/raspbian/3.24.39-1+rpi1~1^2~65^2~39^2~21060 X-Git-Url: https://dgit.raspbian.org/%22http://www.example.com/cgi/%22/%22http:/www.example.com/cgi/%22?a=commitdiff_plain;h=61c253a13230ad2d7ff07e6e082ef8d47d35784c;p=gtk%2B3.0.git themingengine: set the right coordinates for the rounded box rect --- diff --git a/gtk/gtkthemingengine.c b/gtk/gtkthemingengine.c index 47f6b9a575..2e8d0ae47e 100644 --- a/gtk/gtkthemingengine.c +++ b/gtk/gtkthemingengine.c @@ -1689,7 +1689,7 @@ render_frame_internal (GtkThemingEngine *engine, cairo_set_fill_rule (cr, CAIRO_FILL_RULE_EVEN_ODD); - _gtk_rounded_box_init_rect (&border_box, 0, 0, width, height); + _gtk_rounded_box_init_rect (&border_box, x, y, width, height); _gtk_rounded_box_apply_border_radius (&border_box, engine, state, junction); padding_box = border_box; _gtk_rounded_box_shrink (&padding_box, border.top, border.right, border.bottom, border.left);